{% extends "base.html" %}
{% block content %}
<h2>Invoices</h2>
<table>
<tr>
  <th>ID</th>
  <th>Patient</th>
  <th>Amount</th>
  <th>Date</th>
  <th>Status</th>
</tr>
{% for i in invoices %}
<tr>
  <td>{{ i.invoice_id }}</td>
  <td>{{ i.patient_name }}</td>
  <td>{{ i.amount }}</td>
  <td>{{ i.issued_date }}</td>
  <td>{{ i.status }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}
